package com.magic.gre.mvp.contract;

import com.magic.gre.entity.WordsBean;
import com.noname.lib_base_java.mvp.BaseContract;

import java.util.List;

import io.reactivex.Observer;
import okhttp3.ResponseBody;

/**
 * Author: Lmoumou
 * Date: 2019-01-14 16:32
 * 文件名: SearchContract
 * 描述:
 */
public interface SearchContract  {
    interface Model extends BaseContract.BaseModel {
        void mSearch(Observer<ResponseBody> observer,String search);
    }

    interface Presenter extends BaseContract.BasePresenter {
        void pSearch(String search);
    }

    interface View extends BaseContract.BaseView {
        void vSearch(List<WordsBean> beanList);
    }
}
